﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class CuonSachDTO
    {
        #region Attributes
        private string _maSach;
        private byte _maLanXB;
        private int _soThuTu;
        private String _maTuaDe;
        private string _tinhTrang = String.Empty;
        private DateTime _ngayNhap;
        private string _lent = String.Empty;
        #endregion
        #region Properties
        public string MaSach
        {
            get { return _maSach; }
            set { _maSach = value; }
        }

        public byte MaLanXB
        {
            get { return _maLanXB; }
            set { _maLanXB = value; }
        }

        public int SoThuTu
        {
            get { return _soThuTu; }
            set { _soThuTu = value; }
        }

        public String MaTuaDe
        {
            get { return _maTuaDe; }
            set { _maTuaDe = value; }
        }

        public string TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        public DateTime NgayNhap
        {
            get { return _ngayNhap; }
            set { _ngayNhap = value; }
        }
        public String Lent
        {
            get { return _lent; }
            set { _lent = value; }
        }
        #endregion
        #region Default Constructor
        public CuonSachDTO()
        {
            _maSach = String.Empty;
            _maLanXB = 0;
            _soThuTu = 0;
            _maTuaDe = String.Empty;
            _tinhTrang = String.Empty;
            _ngayNhap = DateTime.MinValue;
            _lent = String.Empty;
        }
        #endregion
    }
}
